package com.yami.shop.bean.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "创建超级群聊流程记录表")
@Builder
@TableName("tz_melt_cloud_ultra_group_record")
public class MeltCloudUltraGroupRecord {

    @Schema(description = "id")
    @TableId(type = IdType.AUTO)
    private Long id;

    @NotNull(message = "超级群聊申请id不能为空！")
    @Schema(description = "超级群聊申请id")
    private Long groupApplyId;

    @Schema(description = "群名称")
    private String name;

    @Schema(description = "超级群头像")
    private String pic;

    @Schema(description = "是否官方群 默认0否，1是")
    private Integer isOfficial;
    
    @NotNull(message = "审核状态不能为空！")
    @Schema(description = "状态 0通过 1驳回 2创建失败 3续费失败 4.续费成功")
    private Integer status;

    @Schema(description = "原因")
    private String reason;

    private Date createTime;


}
